package request

type TmallServicecenterAnomalyrecourseHomedecorationAdmitRequest struct {
	/*
	   投诉单id     */
	Id *int64 `json:"id" required:"true" `
	/*
	   认责金额，分     */
	TpAdmitResponsibleAmount *int64 `json:"tp_admit_responsible_amount,omitempty" required:"false" `
	/*
	   备注     */
	Remark *string `json:"remark,omitempty" required:"false" `
}

func (s *TmallServicecenterAnomalyrecourseHomedecorationAdmitRequest) SetId(v int64) *TmallServicecenterAnomalyrecourseHomedecorationAdmitRequest {
	s.Id = &v
	return s
}
func (s *TmallServicecenterAnomalyrecourseHomedecorationAdmitRequest) SetTpAdmitResponsibleAmount(v int64) *TmallServicecenterAnomalyrecourseHomedecorationAdmitRequest {
	s.TpAdmitResponsibleAmount = &v
	return s
}
func (s *TmallServicecenterAnomalyrecourseHomedecorationAdmitRequest) SetRemark(v string) *TmallServicecenterAnomalyrecourseHomedecorationAdmitRequest {
	s.Remark = &v
	return s
}

func (req *TmallServicecenterAnomalyrecourseHomedecorationAdmitRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.Id != nil {
		paramMap["id"] = *req.Id
	}
	if req.TpAdmitResponsibleAmount != nil {
		paramMap["tp_admit_responsible_amount"] = *req.TpAdmitResponsibleAmount
	}
	if req.Remark != nil {
		paramMap["remark"] = *req.Remark
	}
	return paramMap
}

func (req *TmallServicecenterAnomalyrecourseHomedecorationAdmitRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
